<?php
namespace app\manage\model;

class ChannelBag extends Base
{
    protected $insert = ['add_time'];

    //添加时间
    public function getAddTimeAttr($value){
        return date('Y-m-d H:i:s', $value);
    }
    protected function setAddTimeAttr(){
        return time();
    }
}